package com.sinopec.handdevice.contract;

import com.sinopec.basemodule.base.BaseView;
import com.sinopec.basemodule.base.baseImpl.BasePresenterImpl;

/**
 * @author lwj
 * @ClassName: LoginContract
 * @Description: 登录
 * @date 2020/7/6
 */
public interface LoginContract {
    interface View extends BaseView {
        void loginError(String msg);
    }

    abstract class Presenter extends BasePresenterImpl<View> {
        public Presenter(View view) {
            super(view);
        }

        public abstract void login(String userName, String password, String deviceNo);
    }
}
